3.585 \(\int \frac {(a+b \log (c (d+\frac {e}{\sqrt [3]{x}})))^p}{x^2} \, dx\)

Optimal. Leaf size=267 \[ -\frac {3^{-p} e^{-\frac {3 a}{b}} \left (a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )}{b}\right )^{-p} \Gamma \left (p+1,-\frac {3 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )}{b}\right )}{c^3 e^3}+\frac {3 d 2^{-p} e^{-\frac {2 a}{b}} \left (a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )}{b}\right )^{-p} \Gamma \left (p+1,-\frac {2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )}{b}\right )}{c^2 e^3}-\frac {3 d^2 e^{-\frac {a}{b}} \left (a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )}{b}\right )^{-p} \Gamma \left (p+1,-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )}{b}\right )}{c e^3} \]

[Out]

-GAMMA(1+p,-3*(a+b*ln(c*(d+e/x^(1/3))))/b)*(a+b*ln(c*(d+e/x^(1/3))))^p/(3^p)/c^3/e^3/exp(3*a/b)/(((-a-b*ln(c*(
d+e/x^(1/3))))/b)^p)+3*d*GAMMA(1+p,-2*(a+b*ln(c*(d+e/x^(1/3))))/b)*(a+b*ln(c*(d+e/x^(1/3))))^p/(2^p)/c^2/e^3/e
xp(2*a/b)/(((-a-b*ln(c*(d+e/x^(1/3))))/b)^p)-3*d^2*GAMMA(1+p,(-a-b*ln(c*(d+e/x^(1/3))))/b)*(a+b*ln(c*(d+e/x^(1
/3))))^p/c/e^3/exp(a/b)/(((-a-b*ln(c*(d+e/x^(1/3))))/b)^p)

________________________________________________________________________________________

Rubi [A]  time = 0.39, antiderivative size = 267, normalized size of antiderivative = 1.00, number of steps used = 12, number of rules used = 7, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.318, Rules used = {2454, 2401, 2389, 2299, 2181, 2390, 2309} \[ -\frac {3^{-p} e^{-\frac {3 a}{b}} \left (a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )}{b}\right )^{-p} \text {Gamma}\left (p+1,-\frac {3 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )}{b}\right )}{c^3 e^3}+\frac {3 d 2^{-p} e^{-\frac {2 a}{b}} \left (a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )}{b}\right )^{-p} \text {Gamma}\left (p+1,-\frac {2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )}{b}\right )}{c^2 e^3}-\frac {3 d^2 e^{-\frac {a}{b}} \left (a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )}{b}\right )^{-p} \text {Gamma}\left (p+1,-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )}{b}\right )}{c e^3} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*Log[c*(d + e/x^(1/3))])^p/x^2,x]

[Out]

-((Gamma[1 + p, (-3*(a + b*Log[c*(d + e/x^(1/3))]))/b]*(a + b*Log[c*(d + e/x^(1/3))])^p)/(3^p*c^3*e^3*E^((3*a)
/b)*(-((a + b*Log[c*(d + e/x^(1/3))])/b))^p)) + (3*d*Gamma[1 + p, (-2*(a + b*Log[c*(d + e/x^(1/3))]))/b]*(a +
b*Log[c*(d + e/x^(1/3))])^p)/(2^p*c^2*e^3*E^((2*a)/b)*(-((a + b*Log[c*(d + e/x^(1/3))])/b))^p) - (3*d^2*Gamma[
1 + p, -((a + b*Log[c*(d + e/x^(1/3))])/b)]*(a + b*Log[c*(d + e/x^(1/3))])^p)/(c*e^3*E^(a/b)*(-((a + b*Log[c*(
d + e/x^(1/3))])/b))^p)

Rule 2181

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))*((c_.) + (d_.)*(x_))^(m_), x_Symbol] :> -Simp[(F^(g*(e - (c*f)/d))*(c +
d*x)^FracPart[m]*Gamma[m + 1, (-((f*g*Log[F])/d))*(c + d*x)])/(d*(-((f*g*Log[F])/d))^(IntPart[m] + 1)*(-((f*g*
Log[F]*(c + d*x))/d))^FracPart[m]), x] /; FreeQ[{F, c, d, e, f, g, m}, x] &&  !IntegerQ[m]

Rule 2299

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_), x_Symbol] :> Dist[1/(n*c^(1/n)), Subst[Int[E^(x/n)*(a + b*x)^p
, x], x, Log[c*x^n]], x] /; FreeQ[{a, b, c, p}, x] && IntegerQ[1/n]

Rule 2309

Int[((a_.) + Log[(c_.)*(x_)]*(b_.))^(p_)*(x_)^(m_.), x_Symbol] :> Dist[1/c^(m + 1), Subst[Int[E^((m + 1)*x)*(a
 + b*x)^p, x], x, Log[c*x]], x] /; FreeQ[{a, b, c, p}, x] && IntegerQ[m]

Rule 2389

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.), x_Symbol] :> Dist[1/e, Subst[Int[(a + b*Log[c*
x^n])^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, n, p}, x]

Rule 2390

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.)*((f_) + (g_.)*(x_))^(q_.), x_Symbol] :> Dist[1/
e, Subst[Int[((f*x)/d)^q*(a + b*Log[c*x^n])^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, f, g, n, p, q}, x]
 && EqQ[e*f - d*g, 0]

Rule 2401

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_)*((f_.) + (g_.)*(x_))^(q_.), x_Symbol] :> Int[Exp
andIntegrand[(f + g*x)^q*(a + b*Log[c*(d + e*x)^n])^p, x], x] /; FreeQ[{a, b, c, d, e, f, g, n, p}, x] && NeQ[
e*f - d*g, 0] && IGtQ[q, 0]

Rule 2454

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m_.), x_Symbol] :> Dist[1/n, Subst[I
nt[x^(Simplify[(m + 1)/n] - 1)*(a + b*Log[c*(d + e*x)^p])^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, e, m, n, p,
 q}, x] && IntegerQ[Simplify[(m + 1)/n]] && (GtQ[(m + 1)/n, 0] || IGtQ[q, 0]) &&  !(EqQ[q, 1] && ILtQ[n, 0] &&
 IGtQ[m, 0])

Rubi steps

\begin {align*} \int \frac {\left (a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )^p}{x^2} \, dx &=-\left (3 \operatorname {Subst}\left (\int x^2 (a+b \log (c (d+e x)))^p \, dx,x,\frac {1}{\sqrt [3]{x}}\right )\right )\\ &=-\left (3 \operatorname {Subst}\left (\int \left (\frac {d^2 (a+b \log (c (d+e x)))^p}{e^2}-\frac {2 d (d+e x) (a+b \log (c (d+e x)))^p}{e^2}+\frac {(d+e x)^2 (a+b \log (c (d+e x)))^p}{e^2}\right ) \, dx,x,\frac {1}{\sqrt [3]{x}}\right )\right )\\ &=-\frac {3 \operatorname {Subst}\left (\int (d+e x)^2 (a+b \log (c (d+e x)))^p \, dx,x,\frac {1}{\sqrt [3]{x}}\right )}{e^2}+\frac {(6 d) \operatorname {Subst}\left (\int (d+e x) (a+b \log (c (d+e x)))^p \, dx,x,\frac {1}{\sqrt [3]{x}}\right )}{e^2}-\frac {\left (3 d^2\right ) \operatorname {Subst}\left (\int (a+b \log (c (d+e x)))^p \, dx,x,\frac {1}{\sqrt [3]{x}}\right )}{e^2}\\ &=-\frac {3 \operatorname {Subst}\left (\int x^2 (a+b \log (c x))^p \, dx,x,d+\frac {e}{\sqrt [3]{x}}\right )}{e^3}+\frac {(6 d) \operatorname {Subst}\left (\int x (a+b \log (c x))^p \, dx,x,d+\frac {e}{\sqrt [3]{x}}\right )}{e^3}-\frac {\left (3 d^2\right ) \operatorname {Subst}\left (\int (a+b \log (c x))^p \, dx,x,d+\frac {e}{\sqrt [3]{x}}\right )}{e^3}\\ &=-\frac {3 \operatorname {Subst}\left (\int e^{3 x} (a+b x)^p \, dx,x,\log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )}{c^3 e^3}+\frac {(6 d) \operatorname {Subst}\left (\int e^{2 x} (a+b x)^p \, dx,x,\log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )}{c^2 e^3}-\frac {\left (3 d^2\right ) \operatorname {Subst}\left (\int e^x (a+b x)^p \, dx,x,\log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )}{c e^3}\\ &=-\frac {3^{-p} e^{-\frac {3 a}{b}} \Gamma \left (1+p,-\frac {3 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )}{b}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )}{b}\right )^{-p}}{c^3 e^3}+\frac {3\ 2^{-p} d e^{-\frac {2 a}{b}} \Gamma \left (1+p,-\frac {2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )}{b}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )}{b}\right )^{-p}}{c^2 e^3}-\frac {3 d^2 e^{-\frac {a}{b}} \Gamma \left (1+p,-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )}{b}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )}{b}\right )^{-p}}{c e^3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.25, size = 175, normalized size = 0.66 \[ -\frac {6^{-p} e^{-\frac {3 a}{b}} \left (a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )}{b}\right )^{-p} \left (2^p \Gamma \left (p+1,-\frac {3 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )}{b}\right )+c d 3^{p+1} e^{a/b} \left (c d 2^p e^{a/b} \Gamma \left (p+1,-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )}{b}\right )-\Gamma \left (p+1,-\frac {2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt [3]{x}}\right )\right )\right )}{b}\right )\right )\right )}{c^3 e^3} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Log[c*(d + e/x^(1/3))])^p/x^2,x]

[Out]

-(((2^p*Gamma[1 + p, (-3*(a + b*Log[c*(d + e/x^(1/3))]))/b] + 3^(1 + p)*c*d*E^(a/b)*(-Gamma[1 + p, (-2*(a + b*
Log[c*(d + e/x^(1/3))]))/b] + 2^p*c*d*E^(a/b)*Gamma[1 + p, -((a + b*Log[c*(d + e/x^(1/3))])/b)]))*(a + b*Log[c
*(d + e/x^(1/3))])^p)/(6^p*c^3*e^3*E^((3*a)/b)*(-((a + b*Log[c*(d + e/x^(1/3))])/b))^p))

________________________________________________________________________________________

fricas [F]  time = 0.68, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (b \log \left (\frac {c d x + c e x^{\frac {2}{3}}}{x}\right ) + a\right )}^{p}}{x^{2}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d+e/x^(1/3))))^p/x^2,x, algorithm="fricas")

[Out]

integral((b*log((c*d*x + c*e*x^(2/3))/x) + a)^p/x^2, x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b \log \left (c {\left (d + \frac {e}{x^{\frac {1}{3}}}\right )}\right ) + a\right )}^{p}}{x^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d+e/x^(1/3))))^p/x^2,x, algorithm="giac")

[Out]

integrate((b*log(c*(d + e/x^(1/3))) + a)^p/x^2, x)

________________________________________________________________________________________

maple [F]  time = 0.08, size = 0, normalized size = 0.00 \[ \int \frac {\left (b \ln \left (\left (d +\frac {e}{x^{\frac {1}{3}}}\right ) c \right )+a \right )^{p}}{x^{2}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*ln((d+e/x^(1/3))*c)+a)^p/x^2,x)

[Out]

int((b*ln((d+e/x^(1/3))*c)+a)^p/x^2,x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b \log \left (c {\left (d + \frac {e}{x^{\frac {1}{3}}}\right )}\right ) + a\right )}^{p}}{x^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d+e/x^(1/3))))^p/x^2,x, algorithm="maxima")

[Out]

integrate((b*log(c*(d + e/x^(1/3))) + a)^p/x^2, x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {{\left (a+b\,\ln \left (c\,\left (d+\frac {e}{x^{1/3}}\right )\right )\right )}^p}{x^2} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*log(c*(d + e/x^(1/3))))^p/x^2,x)

[Out]

int((a + b*log(c*(d + e/x^(1/3))))^p/x^2, x)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*ln(c*(d+e/x**(1/3))))**p/x**2,x)

[Out]

Timed out

________________________________________________________________________________________